/*
package com.bifrost.service;

import Customer;
import Order;
import OrderItem;
import OrderResult;
import ResultModel;
import ReturnRequest;

import java.util.List;

*/
/**
 * 退货服务
 *
 * @author rangf
 * @date 2017/11/22
 *//*

public interface RefundService {

    */
/**
     * 申请退货:保存订单项
     *
     * @param item  item
     * @param order order
     * @return 订单
     *//*

    public Order addOrderItem(Order order, OrderItem item);

    */
/**
     * 申请退货:单品退货
     *
     * @param customer customer
     * @param order    order
     * @param item     item
     * @param request  request
     * @return 订单
     *//*

    public Order applyItem(Customer customer, Order order, OrderItem item, ReturnRequest request);

    */
/**
     * 申请退货:整单退货
     *
     * @param customer customer
     * @param order    order
     * @param item     item
     * @param request  request
     * @return 订单
     *//*

    public Order applyOrder(Customer customer, Order order, ReturnRequest request);

    */
/**
     * 获取所有退货订单
     *
     * @param page     page
     * @param pageSize pageSize
     * @param customer customer
     * @param status   status
     * @return 订单
     *//*

    public List<OrderResult> getOrders(Integer page, Integer pageSize, Customer customer, String status);

    */
/**
     * 获取退货单明细
     *
     * @param orderId orderId
     * @return 订单
     *//*

    public ResultModel getOrder(Long orderId);

    */
/**
     * 确认退货、邮寄商品
     *
     * @param customer   customer
     * @param orderId    orderId
     * @param shipNumber shipNumber
     * @return 订单
     *//*

    public Boolean confirmShip(Customer customer, Long orderId, String shipNumber);

    */
/**
     * 取消退单
     *
     * @param customer customer
     * @param orderId  orderId
     * @return
     *//*

    public Boolean cancel(Customer customer, Long orderId);

}
*/
